Optimal. Leaf size=144 \[ \frac {2 b e n \sqrt {d+e x^2}}{3 d^2 x}-\frac {b n \left (d+e x^2\right )^{3/2}}{9 d^2 x^3}-\frac {2 b e^{3/2} n \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{3 d^2}-\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 144, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 8, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.320, Rules used = {277, 270, 2392,
12, 462, 283, 223, 212} \begin {gather*} \frac {2 e \sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}-\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}-\frac {2 b e^{3/2} n \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{3 d^2}+\frac {2 b e n \sqrt {d+e x^2}}{3 d^2 x}-\frac {b n \left (d+e x^2\right )^{3/2}}{9 d^2 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 212
Rule 223
Rule 270
Rule 277
Rule 283
Rule 462
Rule 2392
Rubi steps
\begin {align*} \int \frac {a+b \log \left (c x^n\right )}{x^4 \sqrt {d+e x^2}} \, dx &=-\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}-(b n) \int \frac {\sqrt {d+e x^2} \left (-d+2 e x^2\right )}{3 d^2 x^4} \, dx\\ &=-\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}-\frac {(b n) \int \frac {\sqrt {d+e x^2} \left (-d+2 e x^2\right )}{x^4} \, dx}{3 d^2}\\ &=-\frac {b n \left (d+e x^2\right )^{3/2}}{9 d^2 x^3}-\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}-\frac {(2 b e n) \int \frac {\sqrt {d+e x^2}}{x^2} \, dx}{3 d^2}\\ &=\frac {2 b e n \sqrt {d+e x^2}}{3 d^2 x}-\frac {b n \left (d+e x^2\right )^{3/2}}{9 d^2 x^3}-\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}-\frac {\left (2 b e^2 n\right ) \int \frac {1}{\sqrt {d+e x^2}} \, dx}{3 d^2}\\ &=\frac {2 b e n \sqrt {d+e x^2}}{3 d^2 x}-\frac {b n \left (d+e x^2\right )^{3/2}}{9 d^2 x^3}-\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}-\frac {\left (2 b e^2 n\right ) \text {Subst}\left (\int \frac {1}{1-e x^2} \, dx,x,\frac {x}{\sqrt {d+e x^2}}\right )}{3 d^2}\\ &=\frac {2 b e n \sqrt {d+e x^2}}{3 d^2 x}-\frac {b n \left (d+e x^2\right )^{3/2}}{9 d^2 x^3}-\frac {2 b e^{3/2} n \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{3 d^2}-\frac {\sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d x^3}+\frac {2 e \sqrt {d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{3 d^2 x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 110, normalized size = 0.76 \begin {gather*} \frac {\sqrt {d+e x^2} \left (-3 a d-b d n+6 a e x^2+5 b e n x^2\right )-3 b \left (d-2 e x^2\right ) \sqrt {d+e x^2} \log \left (c x^n\right )-6 b e^{3/2} n x^3 \log \left (e x+\sqrt {e} \sqrt {d+e x^2}\right )}{9 d^2 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {a +b \ln \left (c \,x^{n}\right )}{x^{4} \sqrt {e \,x^{2}+d}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 116, normalized size = 0.81 \begin {gather*} \frac {3 \, b n x^{3} e^{\frac {3}{2}} \log \left (-2 \, x^{2} e + 2 \, \sqrt {x^{2} e + d} x e^{\frac {1}{2}} - d\right ) + {\left ({\left (5 \, b n + 6 \, a\right )} x^{2} e - b d n - 3 \, a d + 3 \, {\left (2 \, b x^{2} e - b d\right )} \log \left (c\right ) + 3 \, {\left (2 \, b n x^{2} e - b d n\right )} \log \left (x\right )\right )} \sqrt {x^{2} e + d}}{9 \, d^{2} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \log {\left (c x^{n} \right )}}{x^{4} \sqrt {d + e x^{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {a+b\,\ln \left (c\,x^n\right )}{x^4\,\sqrt {e\,x^2+d}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________